#ifndef TURNABILITYVISITOR_H
#define TURNABILITYVISITOR_H

#include "GameAbilityVisitor.h"
#include "TurnAbility.h"

class TurnAbilityVisitor: public GameAbilityVisitor
{
public:
	TurnAbilityVisitor();
	virtual ~TurnAbilityVisitor();

	virtual void Visit(TurnAbility& ability);

	void Clear();
	bool FoundAbility() const;
	Turnable* TurnableInterface() const;

protected:
private:
	bool found;
	Turnable* turnableInterface;
};

#endif //TURNABILITYVISITOR_H
